//
//  ExampleDetailViewModel.m
//  NekaPrice
//
//  Created by yu on 2018/6/28.
//  Copyright © 2018年 ma c. All rights reserved.
//

#import "ExampleDetailViewModel.h"

@implementation ExampleDetailViewModel


- (void)requestExampleDetailData:(NSString *)url finishedBlock:(void (^)(void))finished {
    
    [[NKNetWorkTool sharedTool] requestGET:url parames:nil success:^(id responseObj) {
        
        NSDictionary *content = responseObj[@"content"];
        self.detailModol = [ExampleDetailModel ModelWithDic:content];
        finished();
    } failure:^(id error) {
        
    }];
    
    
}


@end
